<?php $siteName = cr('cmsConfig.Backend.siteName')?>
      <style type="text/css">
      img{border: 1px solid #ccc;}
      a{font-family:Arial,Helvetica,sans-serif;font-size:14px;color:#00AACE}
      td{padding: 5px;}
</style>

<div class="block">
   <!-- start of header -->
   <table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#f6f4f5" id="backgroundTable" st-sortable="header">
      <tbody>
         <tr>
            <td>
               <table width="612" cellspacing="0" cellpadding="0" border="0" bgcolor="#0db9ea" align="center" class="devicewidth" hlitebg="edit" shadow="edit">
                  <tbody>
                     <tr>
                        <td>
                           <!-- logo -->
                           <table width="612" cellspacing="0" cellpadding="0" border="0" align="left" class="devicewidth">
                              <tbody>
                                 <tr>
                                    <td width="612" valign="middle" style="font-family: Helvetica, Arial, sans-serif;font-size: 14px; color: #ffffff;line-height: 24px; padding: 10px 0 10px 20px;" class="logo">
                                       <div class="imgpop">
                                          <a href="#"  style="text-decoration: none; color: #ffffff;"><h3><?php echo $siteName; ?></h3></a>
                                       </div>
                                    </td>
                                 </tr>
                              </tbody>
                           </table>
                           <!-- End of logo -->
                           <!-- menu -->
                           
                           <!-- End of Menu -->
                        </td>
                     </tr>
                  </tbody>
               </table>
            </td>
         </tr>
      </tbody>
   </table>
   <!-- end of header -->
</div>
<div class="block">
   <table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#f6f4f5" st-sortable="bigimage" id="backgroundTable">
      <tbody>
         <tr>
            <td>
	<table class="mceItemTable" style="border-bottom: 1px solid #cccccc; padding-left: 12px;"
		data-mce-style=" border-bottom: 1px solid #cccccc; padding-left: 12px;"
		bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="8" width="612" align="center" >
		<tbody>
			<tr>
<div class="events_newsletter">
	<?php echo $this->element('events', array('eventList' => $events,'view_type'=>"table_view",'loggedInUserId'=>null,'eventCallerName'=>'newsletterevents')); ?>
</div>

	</td>
         </tr>
      </tbody>
   </table>
</div>